import datetime
import time

name = 'abcd'
for i in name:
    print(i)

for i in range(1,5):#range(1,5) 1-4
    print(i)

num=0
for i in range(1,101):
    num=num+i
print(num)
print(100/8)

#水仙花数 153==3*3*3+5*5*5+1*1*1
for i in range(100,1000):
    b=i//100
    s=i%100//10
    g=i%10
    if i==b**3+s**3+g**3:
        print(i)
        break

from datetime import datetime
a=1
b=datetime.now()
print(b)
while a<=1000000:
    a+=1
c=datetime.now()
d=c-b
print('用时:',d.total_seconds())


'''
for i in range(1,10):
    print('第一层',i)
    for j in range(10,20):
        print('第二层',j)
'''

for i in range(10):
    pass

print(123)